package com.gator.desig_mode.state;

/**
 * @author 何章怀晓 hezhanghuaixiao
 * @version V1.0
 * @desc
 */
public class Client {

  public static void main(String[] args) {
    RaffleActivte raffleActivte = new RaffleActivte();
    raffleActivte.start();
    raffleActivte.raffle();
    System.out.println(raffleActivte.getState());

    raffleActivte.start();
    raffleActivte.raffle();
    System.out.println(raffleActivte.getState());

    raffleActivte.start();
    raffleActivte.raffle();
    System.out.println(raffleActivte.getState());

  }
}
